{% extends "base.html" %}
{% load django_bootstrap5 %}

{% block content %}
<div class="container mt-5">
    <h1>用户登录</h1>
    <form method="post">
        {% csrf_token %}
        {% bootstrap_form form %}  <!-- 自动将Django表单渲染为Bootstrap样式 -->
        {% bootstrap_button button_type="submit" content="登录" %}
    </form>
</div>
{% endblock %}